package cn.ainit.exchange.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="SYS_EXCHANGE_COLUMN")
public class ExchangeColumn  implements java.io.Serializable {

     private String colId;
     private String groupId;
     private String groupTableId;
     private String colName;
     private String colCname;
     private String editStyle;
     private Integer sortNum;
     private String memo;

    public ExchangeColumn() {
    }

    public ExchangeColumn(String colId, String groupId, String groupTableId,
			String colName, String colCname, String editStyle, Integer sortNum,
			String memo) {
		super();
		this.colId = colId;
		this.groupId = groupId;
		this.groupTableId = groupTableId;
		this.colName = colName;
		this.colCname = colCname;
		this.editStyle = editStyle;
		this.sortNum = sortNum;
		this.memo = memo;
	}



	@Id 
    @Column(name="COL_ID", unique=true,length=32)
    public String getColId() {
        return this.colId;
    }
    
    public void setColId(String colId) {
        this.colId = colId;
    }
    
    @Column(name="GROUP_ID",length=32)
    public String getGroupId() {
        return this.groupId;
    }
    
    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }
    
    @Column(name="GROUP_TABLE_ID", length=32)

    public String getGroupTableId() {
        return this.groupTableId;
    }
    
    public void setGroupTableId(String groupTableId) {
        this.groupTableId = groupTableId;
    }
    
    @Column(name="COL_NAME", length=128)

    public String getColName() {
        return this.colName;
    }
    
    public void setColName(String colName) {
        this.colName = colName;
    }
    
    @Column(name="COL_CNAME", length=128)

    public String getColCname() {
        return this.colCname;
    }
    
    public void setColCname(String colCname) {
        this.colCname = colCname;
    }
    
    @Column(name="EDIT_STYLE", length=128)

    public String getEditStyle() {
        return this.editStyle;
    }
    
    public void setEditStyle(String editStyle) {
        this.editStyle = editStyle;
    }
    
    @Column(name="SORT_NUM", scale=0)
    public Integer getSortNum() {
		return sortNum;
	}
    
    public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}
    
    @Column(name="MEMO", length=200)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
   








}